package com.hl.toolkit.framework.core.page;

import com.anpotech.tms.framework.core.session.page.PageParameter;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Component
public class UserAccountPageParameter implements PageParameter {

	@Override
	public String getKey() {
		return SessionKey.userAccountKey;
	}

	@Override
	public String getValue(HttpServletRequest request, HttpServletResponse response) 
	{
//		return SessionUtil.getUser(request.getSession()).getAccount();
		return null;
	}

}
